package com.robot.dao.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class BulkFile implements Serializable {
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    private Long userid;
    private Long robotid;
    private String fileName;
    private String fileSize;
    private Integer fileWordNumber;
    private Long knowledgeId;
    private String fileUrl;
    private Integer fileState;
    private String minioBucketName;
    private Integer isDelete;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}
